﻿using System;

namespace DownloadTool.Util
{
    class CurrentDir
    {
        private static String _dir;
        public static String dir
        {
            get
            {
                if (_dir == null)
                {
                    GetDir();
                }
                return _dir;
            }
        }

        public static void GetDir()
        {
            _dir = System.Environment.CurrentDirectory;
        }
    }
}
